﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace Smartee.Modelling.Shapes
{
    public class Text : Shape
    {
        public Text(string text, int x, int y, int width, int height)
        {
            _string = text;
            _rectangle = new Rectangle(x, y, width, height);
        }

        private string _string;
        private Font _font = new Font("Arial", 12);
        private Rectangle _rectangle;

        public string String { get { return _string; } }
        public Font Font { get { return _font; } }
        internal Rectangle Rectangle { get { return _rectangle; } }

        public override void Accept(IVisitor visitor)
        {
            visitor.Visit(this);
        }
    }
}
